Optimal. Leaf size=79 \[ x \left (a+\frac{b}{x^2}\right )^p \left (\frac{b}{a x^2}+1\right )^{-p} \left (c+\frac{d}{x^2}\right )^q \left (\frac{d}{c x^2}+1\right )^{-q} F_1\left (-\frac{1}{2};-p,-q;\frac{1}{2};-\frac{b}{a x^2},-\frac{d}{c x^2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0806013, antiderivative size = 79, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.158, Rules used = {375, 511, 510} \[ x \left (a+\frac{b}{x^2}\right )^p \left (\frac{b}{a x^2}+1\right )^{-p} \left (c+\frac{d}{x^2}\right )^q \left (\frac{d}{c x^2}+1\right )^{-q} F_1\left (-\frac{1}{2};-p,-q;\frac{1}{2};-\frac{b}{a x^2},-\frac{d}{c x^2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 375
Rule 511
Rule 510
Rubi steps
\begin{align*} \int \left (a+\frac{b}{x^2}\right )^p \left (c+\frac{d}{x^2}\right )^q \, dx &=-\operatorname{Subst}\left (\int \frac{\left (a+b x^2\right )^p \left (c+d x^2\right )^q}{x^2} \, dx,x,\frac{1}{x}\right )\\ &=-\left (\left (\left (a+\frac{b}{x^2}\right )^p \left (1+\frac{b}{a x^2}\right )^{-p}\right ) \operatorname{Subst}\left (\int \frac{\left (1+\frac{b x^2}{a}\right )^p \left (c+d x^2\right )^q}{x^2} \, dx,x,\frac{1}{x}\right )\right )\\ &=-\left (\left (\left (a+\frac{b}{x^2}\right )^p \left (1+\frac{b}{a x^2}\right )^{-p} \left (c+\frac{d}{x^2}\right )^q \left (1+\frac{d}{c x^2}\right )^{-q}\right ) \operatorname{Subst}\left (\int \frac{\left (1+\frac{b x^2}{a}\right )^p \left (1+\frac{d x^2}{c}\right )^q}{x^2} \, dx,x,\frac{1}{x}\right )\right )\\ &=\left (a+\frac{b}{x^2}\right )^p \left (1+\frac{b}{a x^2}\right )^{-p} \left (c+\frac{d}{x^2}\right )^q \left (1+\frac{d}{c x^2}\right )^{-q} x F_1\left (-\frac{1}{2};-p,-q;\frac{1}{2};-\frac{b}{a x^2},-\frac{d}{c x^2}\right )\\ \end{align*}
Mathematica [A] time = 0.0833821, size = 104, normalized size = 1.32 \[ -\frac{x \left (a+\frac{b}{x^2}\right )^p \left (\frac{a x^2}{b}+1\right )^{-p} \left (c+\frac{d}{x^2}\right )^q \left (\frac{c x^2}{d}+1\right )^{-q} F_1\left (-p-q+\frac{1}{2};-p,-q;-p-q+\frac{3}{2};-\frac{a x^2}{b},-\frac{c x^2}{d}\right )}{2 p+2 q-1} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.073, size = 0, normalized size = 0. \begin{align*} \int \left ( a+{\frac{b}{{x}^{2}}} \right ) ^{p} \left ( c+{\frac{d}{{x}^{2}}} \right ) ^{q}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a + \frac{b}{x^{2}}\right )}^{p}{\left (c + \frac{d}{x^{2}}\right )}^{q}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\left (\frac{a x^{2} + b}{x^{2}}\right )^{p} \left (\frac{c x^{2} + d}{x^{2}}\right )^{q}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a + \frac{b}{x^{2}}\right )}^{p}{\left (c + \frac{d}{x^{2}}\right )}^{q}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]